package edu.tsinghua.ddb.sandbox;


import java.util.List;
import java.util.Map;
import java.util.Map.Entry;

import edu.tsinghua.ddb.main.gui.GdGui;
import edu.tsinghua.ddb.main.gui.GdGuiFactory;

public class showGD {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		GdGui gdGui = GdGuiFactory.getOne();
//		List<String> list = gdGui.getColumnsNameFromTable("emp");
//		for (String string : list) {
//			System.out.println(string);
//		}
		
		Map<String, String> map = gdGui.getVerticalFragInfo("pay");
		for(Entry<String, String> item : map.entrySet()){
			System.out.println(item.getKey()+"|"+item.getValue());
		}
	}

}
